projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27fa6fb
)
(sgml-xml-auto-coding-function): Call
author
Kenichi Handa
<handa@m17n.org>
Mon, 19 Aug 2002 06:39:06 +0000
(06:39 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 19 Aug 2002 06:39:06 +0000
(06:39 +0000)
re-search-forward with NOERROR t..
lisp/international/mule.el
patch
|
blob
|
history
diff --git
a/lisp/international/mule.el
b/lisp/international/mule.el
index 6cc905603e4eef52391b55c70b9c49fff364d45c..e937d11030ef5fabe57c814e9516ccc041ec5378 100644
(file)
--- a/
lisp/international/mule.el
+++ b/
lisp/international/mule.el
@@
-2003,7
+2003,7
@@
Analogous to `define-translation-table', but updates
(defun sgml-xml-auto-coding-function (size)
"Determine whether the buffer is XML, and if so, its encoding.
This function is intended to be added to `auto-coding-functions'."
- (when (re-search-forward "\\`[[:space:]\n]*<\\?xml")
+ (when (re-search-forward "\\`[[:space:]\n]*<\\?xml"
nil t
)
(let ((end (save-excursion
;; This is a hack.
(re-search-forward "\"\\s-*\\?>" size t))))